package com.cn.jinl.dao;

import com.cn.jinl.domain.PersonnelManagement;
import com.cn.jinl.domain.PersonnelManagementExample;
import java.util.List;

import com.cn.jinl.utils.QueryForm;
import org.apache.ibatis.annotations.Param;

public interface PersonnelManagementMapper {
    int countByExample(PersonnelManagementExample example);

    int deleteByExample(PersonnelManagementExample example);

    int deleteByPrimaryKey(String id);

    int insert(PersonnelManagement record);

    int insertSelective(PersonnelManagement record);

    List<PersonnelManagement> selectByExample(PersonnelManagementExample example);

    PersonnelManagement selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") PersonnelManagement record, @Param("example") PersonnelManagementExample example);

    int updateByExample(@Param("record") PersonnelManagement record, @Param("example") PersonnelManagementExample example);

    int updateByPrimaryKeySelective(PersonnelManagement record);

    int updateByPrimaryKey(PersonnelManagement record);

    List<PersonnelManagement> getCurrentPersonnelList(QueryForm queryForm);

    List<PersonnelManagement> getAllPersonnelList(QueryForm queryForm);

    List<PersonnelManagement> selectIdAndName();

    int countYearNewPersonnel();

    int countMonthNewPersonnel();

    int countZaiZhi();
}